import Vue from 'vue'
import App from './App.vue'
import router from './route'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import filter from './utils/filter'
// 组件引用
import '@/components/index'
// 样式引入
import '@/style/index'
import '@/utils/index'
import modal from '@/utils/modal'
import api from '@/api/index'
// icon引入(icon + svg)
import '@/assets/icons/index'
// global url
import global from '@/environment/global'

Vue.use(ElementUI)

Vue.prototype.$ylapi = api
Vue.prototype.$modal = modal
Vue.prototype.GLOBAL = global

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
